package cn.shop.transcation.detail.entity;

import cn.shop.utils.constant.Constant;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.Min;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author : 李一涵
 * @date : Created in 2022-2-22 11:33
 * @description :
 */
@Data
public class TransactionRecordQueryReq {

    @Min(value = 1, message = "请输入每页记录数")
    private int size;
    @Min(value = 1, message = "请输入第几页")
    private int current;
    private String item;
    @DateTimeFormat(pattern = Constant.DATETIME_FORMAT)
    private LocalDateTime beginTime;
    @DateTimeFormat(pattern = Constant.DATETIME_FORMAT)
    private LocalDateTime startTime;
    @DateTimeFormat(pattern = Constant.DATETIME_FORMAT)
    private LocalDateTime endTime;
    private Long partitionId;
    private Long gameId;
    private Long orderId;
    private Integer type;
    private Long uid;

}
